﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Classaa
{
    class Program
    {//1、猫、狗、鸭、猴，（吃、游泳、爬树）

        static void Main(string[] args)
        {
            Cat cat = new Cat("加菲", "鱼");
            cat.climb();
            cat.eat();

            Console.WriteLine();

            Dog dog = new Dog("哈士猪","骨头，狗粮");
            dog.swim();
            dog.eat();

            Console.WriteLine();

            Duck duck = new Duck("可达鸭","草");
            duck.swim();
            duck.eat();

            Console.WriteLine();

            Monkey monkey = new Monkey("吉吉国王","香蕉");
            monkey.climb();
            monkey.eat();
            

            Console.ReadKey();
        }
    }
}
